<%@ page contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@page import="com.cyou.nad.utils.DateUtils" %>
<%@ include file="/WEB-INF/jsp/includes/common.jsp"%>
<html>
<head>
<%@ include file="/WEB-INF/jsp/includes/head.jsp"%>
</head>
<body>
	<%@ include file="/WEB-INF/jsp/includes/logo.jsp"%>
	<div class="container">
		<div class="main clearfix">
			<%@ include file="/WEB-INF/jsp/includes/nav.jsp"%>
				<div class="container2 fl">
					<div class="main">
						<h4 class="mb10">数据统计</h4>
						<div class="content-wraper">
							<section class="data-detail">
								<div class="hd clearfix">
									<div class="item clearfix">
					                    <div class="item-left">
					                      <label>活动名称：</label>
					                      <span>${s_active_name }</span>
					                    </div>
					                    <div class="item-right">
					                      <label>活动状态：</label>
					                      <span>${status }</span>
					                    </div>
					            	</div>
					            	<div class="item clearfix">
					                    <div class="item-left">
					                      <label>统计时间：</label>
					                      <span>${startDate} 至 ${endDate}</span>
					                    </div>
					            	</div>
								</div>
							</section>
						</div>
						<div class="cont mt10">
							<table cellspacing="0" border="1" width="100%">
								<thead>
									<tr>
										<th width="50">序号</th>
										<th width="140">日期</th>
<!-- 										<th width="120">登录用户数</th> -->
										<th width="120">活动参与ID数</th>
										<th width="120">活动抽奖人次</th>
										<th width="120">活动G币回收</th>
										<th>活动G币支出</th>
									</tr>
								</thead>
								<tbody>
<!-- 									<tr class="odd"> -->
<!-- 										<td>2</td> -->
<!-- 										<td>2012.9.8</td> -->
<!-- 										<td>438,485</td> -->
<!-- 										<td>354,250</td> -->
<!-- 										<td>560,023</td> -->
<!-- 										<td>7,728</td> -->
<!-- 										<td>700</td> -->
<!-- 									</tr> -->
<!-- 									<tr class="no-results hidden"> -->
<!-- 										<td colspan="100%">未查询到结果！</td> -->
<!-- 									</tr> -->
								<nad:table dataList="${total }">
										<nad:row>
										<%-- 奇偶行 --%>
										<c:if test="${DATALIST_CURRENTROW%2==1 }">
											<tr class="odd">
										</c:if>
										<c:if test="${DATALIST_CURRENTROW%2==0 }">
											<tr class="even">
										</c:if>
										<%-- 数据 --%>
										<td></td>
										<td>合计</td>
<!-- 										<td>暂无</td> -->
										<td><nad:col name="joinTotalNum" format="###,###,###"/></td>
										<td><nad:col name="takeTotalNum" format="###,###,###"/></td>
										<td><nad:col name="gTotalIn" format="###,###,###"/></td>
										<td><nad:col name="gTotalOut" format="###,###,###"/></td>
										</nad:row>									
								</nad:table>
								<nad:table dataList="${dataList }">
										<nad:row>
										<%-- 奇偶行 --%>
										<c:if test="${DATALIST_CURRENTROW%2==0 }">
											<tr class="odd">
										</c:if>
										<c:if test="${DATALIST_CURRENTROW%2==1 }">
											<tr class="even">
										</c:if>
										<%-- 数据 --%>
										<td>${DATALIST_CURRENTROW+1 }</td>
										<td><nad:col name="date" format="yyyy.MM.dd"/></td>
<!-- 										<td>暂无</td> -->
										<td><nad:col name="joinNum" format="###,###,###"/></td>
										<td><nad:col name="takeNum" format="###,###,###"/></td>
										<td><nad:col name="gIn" format="###,###,###"/></td>
										<td><nad:col name="gOut" format="###,###,###"/></td>
										</nad:row>
								</nad:table>
								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>


